#@datagrid() #define content_header()
<h1>
	<a href="/transactiondetail">资金交易明细管理</a> <small>transactiondetail
		tables</small>
</h1>
<ol class="breadcrumb">
	<li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
	<li><a href="/transactiondetail/">财务</a></li>
	<li class="active">资金交易明细管理</li>
</ol>
#end #define content()
<div class="box">
	<div class="box-header">
		<!-- search -->
		<form class="navbar-form"
			action="/transactiondetail/1">
			<div class="form-group">
				<label>注册时间</label> <input type="text" name="date1"
					class="form-control input-sm xsui-jedatepicker" placeholder="起始时间"
					title="" value="#(date1??)"> - <input type="text"
					name="date2" class="form-control input-sm xsui-jedatepicker"
					placeholder="终止时间" title="" value="#(date2??)"
					style="margin-right: 10px">
			</div>
			<div class="form-group">
				<label>代理ID/昵称</label> <input type="text" name="word"
					class="form-control input-sm" placeholder="会员ID/昵称" title="会员ID"
					value="#(word)">
			</div>
			<button type="submit" class="btn btn-sm btn-default">搜索</button>
		</form>
	</div>
	<!-- /.box-header -->
	<div class="box-body">
		<table
			class="xsui-datagrid table table-condensed table-bordered table-striped table-hover">
			<thead>
				<tr>
					<th>交易流水号</th>
					<th>用户ID</th>
					<th>交易单号</th>
					<th>交易金额</th>
					<th>交易类型</th>
					<th>支付渠道</th>
					<!-- <th>账户余额</th> -->
					<th>交易时间</th>
					<th>流水说明</th>
					<th>第三方渠道充值单号</th>
				</tr>
			</thead>
			<tbody>
				#for(x : listPage.getList())
				<tr data-key="#(x.user_id)">
					<td>#(x.id)</td>
					<td>#(x.user_id)</td>
					<td>#(x.serial_no)</td>
					<td>#(x.amount)</td>
					<td>#(x.tradeTypeText)</td>
					<td>#(x.pay_channel)</td>
					<!-- <td>#(x.blance)</td> -->
					<td>#(x.createTimeText)</td>
					<td>#(x.remark)</td>
					<td>#(x.out_trade_no)</td>
				</tr>
				#end
			</tbody>
		</table>
		<!--分页条-->
		<table>
			<tr>
				<td>#@paginate(listPage.pageNumber, listPage.totalPage,
					"/transactiondetail/")</td>
				<td><div class="xsui-datagrid-info">
						共<span class="text-danger">#(listPage.getTotalRow())</span>条
					</div></td>
			</tr>
		</table>
	</div>
	<!-- /.box-body -->
</div>
<!-- /.box -->
#end
